package com.realestate.services;

import java.util.List;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.realestate.dao.InteriorDao;
import com.realestate.model.BrtbInterior;

@Service
public class InteriorServiceImpl implements InteriorService{
	
	@SuppressWarnings("unused")
	private static final Logger LOGGER = Logger.getLogger(InteriorServiceImpl.class);
	
	@Autowired
    private InteriorDao interiorDao;
 
    public List<BrtbInterior> getAllInterior() {
        return interiorDao.getAllInterior();
    }

	@Override
	public BrtbInterior getInteriorCode(String code) {
		return interiorDao.getInteriorCode(code);
	}
}
